package net.seabook.games.tetris.ui;

import java.awt.Dimension;

import javax.swing.JDialog;

public class GameOverDialog extends JDialog {
	private static int WIDTH = 300;
	private static int HEIGHT = 300;
	
	public GameOverDialog(int x, int y) {
		this.setLocation(x, y);
		
		this.pack();
		this.setVisible(true);
	}
	
	@Override
	public Dimension getPreferredSize() {
		return new Dimension(WIDTH, HEIGHT);
	}
	
}
